<template>
  <card ref="Card">
    <el-form :model="form" ref="Form" :rules="rules" label-width="140px">
      <row-col>
        <el-form-item label="单号" prop="orders" style="margin-bottom: 30px">
          <el-input type="textarea" v-model="form.orders"/>
        </el-form-item>
        <el-form-item label="自动上传" slot="r">
          <el-radio-group v-model="isAutoSubmit" @change="changeAuto">
            <el-radio-button :label="true">是</el-radio-button>
            <el-radio-button :label="false">否</el-radio-button>
          </el-radio-group>
        </el-form-item>
      </row-col>
    </el-form>
    <div slot="footer" v-if="!isAutoSubmit">
      <el-button type="primary" v-interval-click="{fun: submit}">确 定</el-button>
    </div>
  </card>
</template>

<script>
  import JS from './js';

  export default {
    name: "EnterWarehouse",
    mixins: [JS]
  }
</script>
